/**
 * 
 */
package bsh;

import bsh.meta.TypeWrapper;

/**
 * A method parameter
 * 
 * @author takeshi
 */
public class Parameter {
    private final TypeWrapper type;

    private final String name;

    /**
     * @param type {@link TypeWrapper}
     * @param name String
     */
    public Parameter(TypeWrapper type, String name) {
        super();
        this.type = type;
        this.name = name;
    }

    /**
     * @return {@link TypeWrapper}
     */
    public TypeWrapper getType() {
        return this.type;
    }

    /**
     * @return String
     */
    public String getName() {
        return this.name;
    }

}